package com.subsequent.service;

import com.github.pagehelper.PageInfo;
import com.subsequent.dto.AppointmentsQueryDTO;
import com.subsequent.pojo.Appointments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.subsequent.vo.AppointmentsVO;

/**
* @author 不.凌
* @description 针对表【appointments(预约挂号表)】的数据库操作Service
* @createDate 2025-05-07 14:19:04
*/
public interface AppointmentsService extends IService<Appointments> {
    /**
     * 获取预约挂号列表
     * @param appointmentsQueryDTO
     * @return
     */
    PageInfo<AppointmentsVO> getAppointmentsList(AppointmentsQueryDTO appointmentsQueryDTO);

    /**
     * 修改预约挂号状态
     * @param appointmentsVO
     * @return
     */
    int updateStatus(AppointmentsVO appointmentsVO);

    /**
     * 全部退款
     * @param appointmentsVO
     * @return
     */
    int updateFee(AppointmentsVO appointmentsVO);
}
